/*
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2023-10-26 14:29:14
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2023-10-30 10:34:32
 * @FilePath: \ZHGD-Vue2\src\api\laboratoryManage\dataBinding.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

// 查询已关联列表
export function experimentBindingPage(query) {
    return request({
        url: '/zhgd/experimentBinding/page',
        method: 'get',
        params: query
    })
}

// 样品绑定技术要求下拉(延度，软化点，针入度)
export function askSelectList(query) {
    return request({
        url: '/zhgd/laboratoryAsphaltRequires/selectList',
        method: 'get',
        params: query
    })
}

// 样品绑定
export function experimentBinding(data) {
    return request({
        url: '/zhgd/experimentBinding',
        method: 'post',
        data: data
    })
}

// 解除绑定
export function unbind(Id) {
    return request({
        url: '/zhgd/experimentBinding/cancel/' + Id,
        method: 'delete'
    })
}


// 样品绑定技术要求下拉(马歇尔)
export function mxrSelectList(query) {
    return request({
        url: '/zhgd/laboratoryMarshallRequires/list',
        method: 'get',
        params: query
    })
}


// 样品绑定技术要求下拉(燃烧炉)
export function rslSelectList(query) {
    return request({
        url: '/zhgd/furnaceRequires/list',
        method: 'get',
        params: query
    })
}



